<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/glyphicon.css"/>
	</head>
	<body style="background-color:lightblue;">
		<input type="button" value="Alert" onclick="alertMe()">
		<input type="button" value="Confirm" onclick="confirmMe()">
		<script src="js/msgBox.js"></script>
		<script>
			function alertMe(){
				msgBox.alert("消息", "这是一条信息！");
			}
			
			function confirmMe(){
				msgBox.confirm("确认","是否要执行该操作？", function(result){
					msgBox.alert("用户选择是否删除？", result);
				});
			}
		</script>
	</body>
</html>
